package springboottest.springboot.dao;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import springboottest.springboot.entity.UserEntity;

@Mapper
public interface UserMapper {
	@Select("select user_id as userId,username as userName from sys_user where user_id=#{userId}")
	UserEntity findUserByUserId(Long userId);

}
